package situ.dao;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;
import situ.entity.Emp;

import java.util.*;

@Mapper //有mapper.xml就可以不用这个注解了
public interface EmpDAO {
	
	@Select("select * from emp")
	public List<Emp> queryall();

    @Select("select * from emp ")
    public List<Map> queryall2();
	
}
